package com.bwie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.pojo.TbMeal;
import com.bwie.service.TbMealService;
import com.bwie.mapper.TbMealMapper;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Yoo19
* @description 针对表【tb_meal】的数据库操作Service实现
* @createDate 2025-07-15 11:52:31
*/
@Service
public class TbMealServiceImpl extends ServiceImpl<TbMealMapper, TbMeal>
    implements TbMealService{
    @Autowired
    private TbMealMapper tbMealMapper;
    @Override
    public R getMealList() {
        List<TbMeal> tbMealList = tbMealMapper.selectList(null);
        return R.OK(tbMealList);
    }
}




